import request from '@/common/js/request.js'

const ha_userApi = {
  findUserTree: '/approve/ha_user/findUserTree'
}

/**
 * 查询部门或单位用户树
 */
 export function findUserTree (departid, pageInfo) {
  return request({
    url: ha_userApi.findUserTree,
    method: 'post',
    params: { departid },
    data: pageInfo
  })
}
